package com.github.xuemingyu.springboot.acticitycloud.entity.enumEntity;

public enum ActivityStatus {

    placeholder,
    /**
     * 预热
     */
    preheat,
    /**
     * 待发布
     */
    waitpublish,
    /**
     * 待报名
     */
    waitsign,
    /**
     * 进行中
     */
    proceed,
    /**
     * 已结束
     */
    over,
    /**
     * 已取消
     */
    cancel;

    public String cn() {
        switch (this) {
            case preheat:
                return "预热";
            case waitsign:
                return "待报名";
            case waitpublish:
                return "待发布";
            case over:
                return "已结束";
            case proceed:
                return "进行中";
            case cancel:
                return "已取消";
            default:
                return "未知";
        }
    }
}
